<template>
  <div>
    <el-header>
      <el-row>
        <el-col :span="6">
          <div class="grid-content bg-purple">
            <div class="header-left">
              <a href="javascript:;">
                <img
                  src="//cimg.zhaopin.cn/img/newIndexImages/logo.png"
                  alt=""
                >
              </a>
            </div>
          </div>
        </el-col>
        <el-col :span="18">
          <div class="grid-content bg-purple-light">
            <div class="header-right">
              <div>
                <a
                  href="javascript:;"
                  @click="backhome"
                >
                  <span class="el-icon-s-home"></span>
                  首页
                </a>
              </div>
              <div>
                您好! | 用户名
              </div>

            </div>
          </div>
        </el-col>
      </el-row>
    </el-header>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.el-header {
  background-color: rgb(175, 233, 233);
  .header-left {
    margin-top: 12px;
  }
  .header-right {
    float: right;
    margin-right: 250px;
    div {
      float: left;
      font-size: 16px;
      height: 60px;
      line-height: 60px;
      margin-right: 40px;
      color: #fff;
      a {
        text-decoration: none;
        color: #fff;
      }
    }
  }
}
</style>